package com.taobao.api.response;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: tmall.nr.order.querystatus response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class TmallNrOrderQuerystatusResponse extends TaobaoResponse {

	private static final long serialVersionUID = 1154599957234534463L;

	/** 
	 * result
	 */
	@ApiField("result")
	private NrResult result;


	public void setResult(NrResult result) {
		this.result = result;
	}
	public NrResult getResult( ) {
		return this.result;
	}
	
	/**
 * resultData
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NrTradePayStatusResp extends TaobaoObject {

	private static final long serialVersionUID = 1435631483363615736L;

	/**
		 * bizOrderId
		 */
		@ApiField("biz_order_id")
		private String bizOrderId;
		/**
		 * 支付状态
		 */
		@ApiField("pay_status")
		private Long payStatus;
		/**
		 * 是否支付成功
		 */
		@ApiField("pay_success")
		private Boolean paySuccess;
		/**
		 * 支付状态描述
		 */
		@ApiField("title")
		private String title;
	

	public String getBizOrderId() {
			return this.bizOrderId;
		}
		public void setBizOrderId(String bizOrderId) {
			this.bizOrderId = bizOrderId;
		}
		public Long getPayStatus() {
			return this.payStatus;
		}
		public void setPayStatus(Long payStatus) {
			this.payStatus = payStatus;
		}
		public Boolean getPaySuccess() {
			return this.paySuccess;
		}
		public void setPaySuccess(Boolean paySuccess) {
			this.paySuccess = paySuccess;
		}
		public String getTitle() {
			return this.title;
		}
		public void setTitle(String title) {
			this.title = title;
		}

}

	/**
 * result
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NrResult extends TaobaoObject {

	private static final long serialVersionUID = 7567513378578934626L;

	/**
		 * errorCode
		 */
		@ApiField("error_code")
		private String errorCode;
		/**
		 * errorMessage
		 */
		@ApiField("error_message")
		private String errorMessage;
		/**
		 * resultData
		 */
		@ApiField("result_data")
		private NrTradePayStatusResp resultData;
		/**
		 * success
		 */
		@ApiField("success")
		private Boolean success;
	

	public String getErrorCode() {
			return this.errorCode;
		}
		public void setErrorCode(String errorCode) {
			this.errorCode = errorCode;
		}
		public String getErrorMessage() {
			return this.errorMessage;
		}
		public void setErrorMessage(String errorMessage) {
			this.errorMessage = errorMessage;
		}
		public NrTradePayStatusResp getResultData() {
			return this.resultData;
		}
		public void setResultData(NrTradePayStatusResp resultData) {
			this.resultData = resultData;
		}
		public Boolean getSuccess() {
			return this.success;
		}
		public void setSuccess(Boolean success) {
			this.success = success;
		}

}



}
